explicitly changed in the future, and are not affected by priority aging
schemes.
The priority range for these scheduling policies may be obtained via the
_ssss_cccc_hhhh_eeee_dddd______gggg_eeee_tttt______pppp_rrrr_iiii_oooo_rrrr_iiii_tttt_yyyy______mmmm_iiii_nnnn(2) and _ssss_cccc_hhhh_eeee_dddd______gggg_eeee_tttt______pppp_rrrr_iiii_oooo_rrrr_iiii_tttt_yyyy______mmmm_aaaa_xxxx(2) function calls.
However, arbitrary priority values should not be used. Developers must
consider the needs of the application and how it should interact with the
rest of the system, before selecting a real-time priority. For more
information, see the "Real-Time Priority Band" section of _rrrr_eeee_aaaa_llll_tttt_iiii_mmmm_eeee(5).
Runnable processes scheduled with real-time policies are always granted
processor control ahead of timeshare processes, regardless of priority.
The calling process must have the CCCCAAAAPPPP____SSSSCCCCHHHHEEEEDDDD____MMMMGGGGTTTT capability [see
_c_a_p_a_b_i_l_i_t_y] to successfully execute _ssss_cccc_hhhh_eeee_dddd______ssss_eeee_tttt_ssss_cccc_hhhh_eeee_dddd_uuuu_llll_eeee_rrrr.
If the process specified by _p_i_d is currently executing or is in a
runnable state, _ssss_cccc_hhhh_eeee_dddd______ssss_eeee_tttt_ssss_cccc_hhhh_eeee_dddd_uuuu_llll_eeee_rrrr causes the process to be rescheduled
in accordance with its priority.
_ssss_cccc_hhhh_eeee_dddd______ssss_eeee_tttt_ssss_cccc_hhhh_eeee_dddd_uuuu_llll_eeee_rrrr will fail if one or more of the following are true:
[EINVAL] The _p_o_l_i_c_y argument does not represent a valid posix
scheduling policy.
[EINVAL] One of the specified parameters at address _p_a_r_a_m are out
of range or scope.
[EPERM] The calling process does not have the CCCCAAAAPPPP____SSSSCCCCHHHHEEEEDDDD____MMMMGGGGTTTT
capability.
[ESRCH] The process specified by _p_i_d does not exist.